home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / emula / arosdv19.lha / AROS / include / exec / nodes.h < prev    next >
C/C++ Source or Header  |  1996-09-12  |  2KB  |  80 lines

  1. #ifndef EXEC_NODES_H
  2. #define EXEC_NODES_H
  3. /* (C) 1995 AROS - The Amiga Replacement OS */
  4.  
  5. /******************************************************************************
  6.  
  7.     MODUL
  8.     $Id: nodes.h,v 1.1 1996/08/03 15:19:32 digulla Exp $
  9.  
  10.     DESCRIPTION
  11.     Header-file for nodes.
  12.  
  13. ******************************************************************************/
  14.  
  15. /**************************************
  16.         Includes
  17. **************************************/
  18. #ifndef AROS_SYSTEM_H
  19. #   include <aros/system.h>
  20. #endif
  21. #ifndef EXEC_TYPES_H
  22. #   include <exec/types.h>
  23. #endif
  24.  
  25.  
  26. /**************************************
  27.            Structures
  28. **************************************/
  29. struct Node
  30. {
  31.     struct Node * ln_Succ,
  32.         * ln_Pred;
  33.     /* AROS: pointer should be 32bit aligned */
  34.     char    * ln_Name;
  35.     UBYTE      ln_Type;
  36.     BYTE      ln_Pri;
  37. };
  38.  
  39. struct MinNode
  40. {
  41.     struct MinNode * mln_Succ,
  42.            * mln_Pred;
  43. };
  44.  
  45.  
  46. /**************************************
  47.          Defines
  48. **************************************/
  49. /* Values for ln_Type */
  50. #define NT_UNKNOWN    0    /* Unknown node                 */
  51. #define NT_TASK     1    /* Exec task                    */
  52. #define NT_INTERRUPT    2    /* Interrupt                    */
  53. #define NT_DEVICE    3    /* Device                    */
  54. #define NT_MSGPORT    4    /* Message-Port                 */
  55. #define NT_MESSAGE    5    /* Indicates message currently pending        */
  56. #define NT_FREEMSG    6
  57. #define NT_REPLYMSG    7    /* Message has been replied            */
  58. #define NT_RESOURCE    8
  59. #define NT_LIBRARY    9
  60. #define NT_MEMORY    10
  61. #define NT_SOFTINT    11    /* Internal flag used by SoftInits        */
  62. #define NT_FONT     12
  63. #define NT_PROCESS    13    /* AmigaDOS Process                */
  64. #define NT_SEMAPHORE    14
  65. #define NT_SIGNALSEM    15    /* signal semaphores                */
  66. #define NT_BOOTNODE    16
  67. #define NT_KICKMEM    17
  68. #define NT_GRAPHICS    18
  69. #define NT_DEATHMESSAGE 19
  70.  
  71. #define NT_USER     254    /* User node types work down from here        */
  72. #define NT_EXTENDED    255
  73.  
  74.  
  75. /******************************************************************************
  76. *****  ENDE exec/nodes.h
  77. ******************************************************************************/
  78.  
  79. #endif /* EXEC_NODES_H */
  80.